//村民
module.exports = function(room,chair) {
	var basic = require("./roleBasic.js")
	basic.call(this,chair)
	console.log(basic)
	this.name = "村民"			//角色名
	this.role = "villager"		//角色类型
	this.camp = "villager"   	//阵营	werewolf  protoss  villager
	this.survive = true 	  	//存活状态
	this.votePower = true   	//投票权
	this.showRole = "normal"	//显示状态   
	//角色行动
	this.action = function(type,target,cb) {
		cb(false,"村民没有技能")
	}
	//获取自身信息
	this.getRoleInfo = function() {
		var info = {
			name : this.name,
			role : this.role,
			camp : this.camp,
			survive : this.survive,
			votePower : this.votePower,
			showRole : this.showRole,
		}
		return info
	}
}